


FILE( GLOB _SOURCES *.cpp *.h )
FILE( GLOB _SOURCESCVC ${CMAKE_SOURCE_DIR}/../../cvclibs/cvctracker/*.cpp ${CMAKE_SOURCE_DIR}/../../cvclibs/cvctracker/*.h )


FILE( TO_CMAKE_PATH "$ENV{OPENCV24_DIR}" OPENCV24_DIR )

link_directories (${CMAKE_SOURCE_DIR}/dependencies/glew/lib/x86
				  ${CMAKE_SOURCE_DIR}/dependencies/iup
				  ${OPENCV24_DIR}/lib)

INCLUDE_DIRECTORIES(
	${CMAKE_SOURCE_DIR}/dependencies/glew/include
	${CMAKE_SOURCE_DIR}/dependencies/iup/include
	${CMAKE_SOURCE_DIR}/dependencies/
    ${CMAKE_SOURCE_DIR}/../../cvclibs/
	${OPENCV24_DIR}/include/	
)

ADD_EXECUTABLE( imageTesterMulti ${_SOURCES}  ${_SOURCESCVC})

TARGET_LINK_LIBRARIES( imageTesterMulti	
	opengl32.lib
	glew32.lib
	optimized zlib.lib debug zlibd.lib
	optimized opencv_core242.lib debug opencv_core242d.lib
	optimized opencv_highgui242.lib debug opencv_highgui242d.lib
	optimized opencv_features2d242.lib debug opencv_features2d242d.lib
	optimized opencv_nonfree242.lib debug opencv_nonfree242d.lib
	optimized opencv_calib3d242.lib debug opencv_calib3d242d.lib
	optimized opencv_video242.lib debug opencv_video242d.lib
	optimized opencv_imgproc242.lib debug opencv_imgproc242d.lib
	optimized opencv_flann242.lib debug opencv_flann242d.lib
	iup.lib
	iupcontrols.lib
	iupgl.lib
	iupimglib.lib
)


SET_TARGET_PROPERTIES( imageTesterMulti PROPERTIES DEBUG_POSTFIX d )
